<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="java.util.*"%>
<%@page import="support.*"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Provide degrees - Choose discipline</title>
</head>
<body>
	<%
		//get university info from university page and set to session
		String university = request.getParameter("university");
		session.setAttribute("university", university);
	%>
	<p>Choose your discipline:
	<form method="get" action="degreeMore.jsp">
		<%
			support s = new support();
			Vector majors = s.getMajors();

			int i;
			for (i = 0; i < majors.size(); i++) {
				String temp = majors.get(i).toString();
		%>
		<p>
			<INPUT TYPE=RADIO NAME="degreeDiscipline" VALUE=<%=Integer.toString(i)%>><%=temp%><BR>
			<%
				}
			%>
		
		<p>
			<INPUT TYPE=RADIO NAME="degreeDiscipline" VALUE="Other" checked><input
				type="text" size="20" maxlength="20" name="Other" /><BR>
		<p>Input the month and year that the degree was awarded or is
			expected to be awarded:
		<p>
			<input type="text" size="2" maxlength="2" name="month" />/<input
				type="text" size="4" maxlength="4" name="year" /> MM/YYYY
		<p>Input the GPA or the expected GPA:
		<p>
			<input type="text" size="3" maxlength="3" name="GPA" />
		<p>Choose your title of degree:
		<p>
			<SELECT NAME="Title">
				<OPTION VALUE="BS">BS
				<OPTION VALUE="MS">MS
				<OPTION VALUE="PhD">PhD
			</SELECT>
		<p>
			<input type="submit" value="submit" size="10" />
	</form>



</body>
</html>